package com.bw.common.commonentity

/**
 * 用户实体
 */
data class UserEntity(
    val accountid: Int,
    val ctime: String,
    val id: Int,
    val isAuthor: String,
    var password: String,
    val token: String,
    val username: String
){
    val nick: String=""
        get() {
            if (field==null){
                return ""
            }
            return field
        }
    val headImg: String=""
        get() {
            if (field==null){
                return ""
            }
            return field
        }
}